package com.rxyb.security.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author YJH
 * @version 1.0
 * @description MybatisPlusConfig  分页插件
 * @date 2020/7/13 0013 19:58
 */
@Configuration
public class MybatisPlusConfig {



    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }

}
